public class logicoperatordemo2 {
    public static void main(String[] args) {
        //1.&&
        System.out.println(true && false);
        System.out.println(true && true);
        System.out.println(false && false);
        System.out.println(false && true);

        System.out.println(" ");

        //2.||
        System.out.println(true || false);
        System.out.println(true || true);
        System.out.println(false || false);
        System.out.println(false || true);
    }
}
